#include "test.h"

int main()
{
    int shmid = GetShm();
    char* shm = AttackShm(shmid);

    while(true)
    {
        if(strcmp(shm,"quit") == 0) break;
        printf("%s\n",shm);
        sleep(1);
    }

    UnLinkShm(shm);
    return 0;
}